﻿using System;
using System.Collections.Generic;

namespace Models.Models;

/// <summary>
/// 管理员
/// </summary>
public partial class SAdmin
{
    /// <summary>
    /// 管理员id
    /// </summary>
    public uint Id { get; set; }

    /// <summary>
    /// 用户名
    /// </summary>
    public string Username { get; set; } = null!;

    /// <summary>
    /// 登录密码
    /// </summary>
    public string LoginPwd { get; set; } = null!;

    /// <summary>
    /// 登录密码配合加密字符串
    /// </summary>
    public string LoginSalt { get; set; } = null!;

    /// <summary>
    /// 手机号码
    /// </summary>
    public string Mobile { get; set; } = null!;

    /// <summary>
    /// 性别（0保密，1女，2男）
    /// </summary>
    public byte Gender { get; set; }

    /// <summary>
    /// 登录次数
    /// </summary>
    public uint LoginTotal { get; set; }

    /// <summary>
    /// 最后登录时间
    /// </summary>
    public uint LoginTime { get; set; }

    /// <summary>
    /// 所属角色组
    /// </summary>
    public uint RoleId { get; set; }

    /// <summary>
    /// 添加时间
    /// </summary>
    public uint AddTime { get; set; }

    /// <summary>
    /// 更新时间
    /// </summary>
    public int UpdTime { get; set; }
}
